package xgenerator.generators.jgenerator;

import xgenerator.model.ModelMetadata;

/**
 * <p>
 * Title:StrutsGenerator
 * </p>
 * <p>
 * Description:具体功能见各方法描述
 * </p>
 * <p>
 * Copyright:Copyright (c) 2012
 * </p>
 * 
 * @author <a href="mailto:lishushan@gmail.com">liss</a>
 * @version 1.0
 */
public interface StrutsGenerator extends Struts2Generator {

	public static String DEFAULT_ACTION_FORM_SUFFER = "Form";
	public static final String STRUTS_CONFIG_PREFIX = "struts-config-";
	public static final String STRUTS_DYNAMIC_VALIDATION_CONFIG_SUFFER = "-Validate";
	
	/*
	 * java代码目录名
	 */
	public static String STRUTS_DIR = "struts";
	public static String FORM_DIR = "form";

	public String generateActionFormCode(ModelMetadata modelMetadata);

}
